package com.itdct.onflow.com.itdct.onflow.system.generator.context

import com.alibaba.fastjson2.annotation.JSONField
import com.itdct.onflow.generator.context.GeneratorContext
import com.itdct.onflow.generator.model.ClassModel
import com.itdct.onflow.system.menu.entity.SysMenuEntity

/**
 * @author Zhouwx
 * @date 2025/9/8 15:42:16
 * @version 1.0
 * @description
 */
class SysGeneratorContext : GeneratorContext() {
    @JSONField(serialize = false)
    var sysMenuClassModel = ClassModel()

    @JSONField(serialize = false)
    var sysApiClassModel = ClassModel()

    @JSONField(serialize = false)
    var sysApiMenuClassModel = ClassModel()

    @JSONField(serialize = false)
    var sysComponentClassModel = ClassModel()

    @JSONField(serialize = false)
    var addMenuEntity: SysMenuEntity? = null

    @JSONField(serialize = false)
    var editMenuEntity: SysMenuEntity? = null

    @JSONField(serialize = false)
    var pageMenuEntity: SysMenuEntity? = null

    var addMenuId = 0L
    var editMenuId = 0L
    var pageMenuId = 0L
}